package Com.amit.corejava;


class operation
{
	int squre(int n)
	{
		return n*n;
	}
}

public class Circle {
	operation op;
	
	double pi=3.14;
	
	double area(int radius)
	{
		op=new operation();
		int rssqure=op.squre(radius);
		return pi*rssqure;
		
	}
	
	public static void main(String[] args) {
		
		
		Circle c=new Circle();
		
		double result=c.area(5);
		
		System.out.println(result);
		
		

	}

}
